import cartu from '@/assets/libs/cartu.json';
import christmas from '@/assets/libs/christmas.json';
import uml from '@/assets/libs/uml.json';
import basic from '@/assets/libs/basic.json';
import webpage from '@/assets/libs/webpage.json';
import basicShapes from '@/assets/libs/basic-shapes.json';
import stickFigures from '@/assets/libs/stick-figures.json';
import emojis from '@/assets/libs/emojis.json';

import DrawerImg from '@/assets/img/christmas.jpg';
import CartuImg from '@/assets/img/cartu.jpg';
import UmlImg from '@/assets/img/uml.png';
import WebpageImg from '@/assets/img/webpage.jpg';
import BasicImg from '@/assets/img/basic.jpg';
import BasicShapesImg from '@/assets/img/basic-shapes.png';
import StickFiguresImg from '@/assets/img/stick-figures.jpg';
import EmojisImg from '@/assets/img/emojis.png';

/**
 * data 数据
 * img src
 */
export interface LibType {
    data: string;
    img: any;
}

export const libs:LibType[] = [
    {
        data: JSON.stringify(cartu),
        img: CartuImg
    },
    {
        data: JSON.stringify(christmas),
        img: DrawerImg
    },
    {
        data: JSON.stringify(uml),
        img: UmlImg
    },
    {
        data: JSON.stringify(basic),
        img: WebpageImg
    },
    {
        data: JSON.stringify(webpage),
        img: BasicImg
    },
    {
        data: JSON.stringify(basicShapes),
        img: BasicShapesImg
    },
    {
        data: JSON.stringify(stickFigures),
        img: StickFiguresImg
    },
    {
        data: JSON.stringify(emojis),
        img: EmojisImg
    }
]
